﻿
namespace ZDS.Test

open ZDS

module TestUtility =

    let getErrorCode f =
        try 
            f()
            ErrorCode.None
        with
            | ZError(code) -> code

